<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>The small3d library: small3d::Material Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo_s.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">The small3d library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacesmall3d.html">small3d</a></li><li class="navelem"><a class="el" href="classsmall3d_1_1_material.html">Material</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classsmall3d_1_1_material-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">small3d::Material Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A 3D model material.  
 <a href="classsmall3d_1_1_material.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_material_8hpp_source.html">Material.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7175f9c32c56c77d467a2c5aa6fa31fb"><td class="memItemLeft" align="right" valign="top"><a id="a7175f9c32c56c77d467a2c5aa6fa31fb"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsmall3d_1_1_material.html#a7175f9c32c56c77d467a2c5aa6fa31fb">Material</a> ()</td></tr>
<tr class="memdesc:a7175f9c32c56c77d467a2c5aa6fa31fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <br /></td></tr>
<tr class="separator:a7175f9c32c56c77d467a2c5aa6fa31fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8607a6483b81190e57d00088879fce6a"><td class="memTemplParams" colspan="2"><a id="a8607a6483b81190e57d00088879fce6a"></a>
template&lt;class Archive &gt; </td></tr>
<tr class="memitem:a8607a6483b81190e57d00088879fce6a"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><b>serialize</b> (Archive &amp;archive)</td></tr>
<tr class="separator:a8607a6483b81190e57d00088879fce6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:aad161fb10bd7dcfb2616d1c81fbf72ca"><td class="memItemLeft" align="right" valign="top"><a id="aad161fb10bd7dcfb2616d1c81fbf72ca"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>specularExponent</b> = 0.0f</td></tr>
<tr class="separator:aad161fb10bd7dcfb2616d1c81fbf72ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88071539d362975ffcdf13fb2d698d0f"><td class="memItemLeft" align="right" valign="top"><a id="a88071539d362975ffcdf13fb2d698d0f"></a>
glm::vec3&#160;</td><td class="memItemRight" valign="bottom"><b>ambientColour</b> = glm::vec3(0.5f)</td></tr>
<tr class="separator:a88071539d362975ffcdf13fb2d698d0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76901bb99f68d15cc1b2fffa9c75c14e"><td class="memItemLeft" align="right" valign="top"><a id="a76901bb99f68d15cc1b2fffa9c75c14e"></a>
glm::vec3&#160;</td><td class="memItemRight" valign="bottom"><b>diffuseColour</b> = glm::vec3(0.0f)</td></tr>
<tr class="separator:a76901bb99f68d15cc1b2fffa9c75c14e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9b382922c9aea3b6c67f80578db180e"><td class="memItemLeft" align="right" valign="top"><a id="ae9b382922c9aea3b6c67f80578db180e"></a>
glm::vec3&#160;</td><td class="memItemRight" valign="bottom"><b>specularColour</b> = glm::vec3(0.0f)</td></tr>
<tr class="separator:ae9b382922c9aea3b6c67f80578db180e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab03161919cbc2811c6fd7578d2dd5011"><td class="memItemLeft" align="right" valign="top"><a id="ab03161919cbc2811c6fd7578d2dd5011"></a>
glm::vec3&#160;</td><td class="memItemRight" valign="bottom"><b>emissiveCoefficient</b> = glm::vec3(0.0f)</td></tr>
<tr class="separator:ab03161919cbc2811c6fd7578d2dd5011"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a632506ef484dd74239d31121e9817f1c"><td class="memItemLeft" align="right" valign="top"><a id="a632506ef484dd74239d31121e9817f1c"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsmall3d_1_1_material.html#a632506ef484dd74239d31121e9817f1c">optDensIndexRef</a> = 0.0f</td></tr>
<tr class="memdesc:a632506ef484dd74239d31121e9817f1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Optical density / index of refraction. <br /></td></tr>
<tr class="separator:a632506ef484dd74239d31121e9817f1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc8f7f90972adf3b97894cee5ec227b5"><td class="memItemLeft" align="right" valign="top"><a id="acc8f7f90972adf3b97894cee5ec227b5"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>alpha</b> = 1.0f</td></tr>
<tr class="separator:acc8f7f90972adf3b97894cee5ec227b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A 3D model material. </p>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="_material_8hpp_source.html">Material.hpp</a></li>
<li>Material.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
</small></address>
</body>
</html>
